package com.zhanglinwei.openApiClient.enums;

import lombok.Getter;

@Getter
public enum SQLFunction {

    COUNT("COUNT( %s )"),
    DISTINCT_COUNT("COUNT(DISTINCT %s )"),
    MAX("MAX( %s )"),
    MIN("MIN( %s )"),
    AVG("AVG( %s )"),
    SUM("SUM( %s )")
    ;

    private final String expression;

    SQLFunction(String expression) {
        this.expression = expression;
    }
}
